package role

// Repository 角色仓库接口
type Repository interface {
	Create(role *Role) error
	Update(role *Role) error
	Delete(id string) error
	FindByID(id string) (*Role, error)
	FindByName(name string) (*Role, error)
	FindAll() ([]*Role, error)
}